  <!-- Header Area -->
<headerbar></headerbar>

<!-- navbar Ara -->
<navbar></navbar>
<div class="mainbody">
    <div class="maincontent row">
        <!--我是主要内容 start-->
        <div class="col-sm-12">
            <div class="jumbotron">
                <div class="col-sm-2 "></div>
                <h2 class="text-center">The List Of Registered</h2>
            </div>
        </div>
        <!--我是主要内容 end-->
        <div class="col-sm-1"></div>
        <div class="col-sm-9">
            <table class="table table-hover table-condensed">
                <thead>
                    <tr>
                        <th rowspan="2"><input type="checkbox" ng-model="vm.allChecked" ng-change="vm.checkAll(vm.allChecked)" /></th>
                        <th rowspan="2">merchant-name</th>
                        <th rowspan="1">head-portrait</th>
                        <th rowspan="2">ID-number</th>
                        <th rowspan="1">ID-photos</th>
                        <th rowspan="2">address</th>
                        <th rowspan="2">status</th>
                        <th rowspan="2">register-time</th>
                        <th rowspan="2">operation-time</th>
                    </tr>
                </thead>

                <tbody>
                    <tr ng-repeat="item in vm.registeredlist">
                        <td><input type="checkbox" ng-model="item.$checked" /></td>
                        <td>{{item.name}}</td>
                        <td><img style="width:50px;" ng-src='{{item.portraitUrl}}'></td>
                        <td>{{item.icNum}}</td>
                        <td><img style="width:50px;" ng-src='{{item.icPicUrl}}'></td>
                        <td>{{item.addr}}</td>
                        <td ng-if="item.status1==0" style="color:dodgerblue">待审核</td>
                        <td ng-if="item.status1==1" style="color:green">已通过</td>
                        <td ng-if="item.status1==2" style="color:red">已驳回</td>
                        <td>{{item.registTime  | date: 'yyyy-MM-dd HH:mm:ss' }}</td>
                        <td>{{item.operationTime  | date: 'yyyy-MM-dd HH:mm:ss' }}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
